﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Domain.UserManagement.Entities
{
    public class Role
    {
#warning Comment by Elmar: There was no Key on this entity so it broke the database for us all.
        public int Id { get; set; }
        public string Name { get; set; }
        public ApplicationPermissions Permissions { get; set; }

        private ApplicationPermissions _permissions;

        public Role()
        {
            Permissions = new ApplicationPermissions();
        }

        //public void GrantPermission(Permission addPermission)
        //{

        //}

        //public void RevokePermission(Permission removePermission)
        //{ }
    }
}
